import request from '@/utils/request'

/**
 * 教师中心
 */

// 教师列表查询
export function getList(params) {
    return request({
        url: 'mall-admin/mall/campTeacher/list',
        method: 'GET',
        params
    })
}

// 修改教师职位状态
export function modifyTeacherStatus(params) {
    return request({
        url: '/mall-admin/mall/campTeacher/modifyByStatus',
        method: 'POST',
        params
    })
}
// 新增或修改教师信息
export function saveCampTeacher(params) {
    return request({
        url: '/mall-admin/mall/campTeacher/save',
        method: 'POST',
        params
    })
}
